import { BaseModel } from "./index";
import { MchMerchantModel } from "./mch";
import { MemberFinanceModel, MemberStatisticsModel, MemberLevelModel, MemberModel } from "./member";

export class CustomerModel extends BaseModel {
  /**
   * 手机号码
   */
  mobile: number;
  /**
   * 姓名
   */
  name: string;
  /**
   * 微信openid
   */
  wxOpenId: string;
  /**
   * 店铺id
   */
  shopId: number;
  /**
   *
   */
  status: number;
  /**
   * 是否金丝雀
   */
  isCanary: number;
  /**
   * 推荐客户id
   */
  inviteCustomerId: number;

  wxCode: string;

  inviteCode: string;
  /**
   * 上级id
   */
  superiorId: number;
  /**
   * 会员id
   */
  memberId: number;

  avatarUrl: string;
  levelId: number;

  mchMerchantVO: MchMerchantModel;
  memberFinanceVO: MemberFinanceModel;
  memberStatisticsVO: MemberStatisticsModel;
  nextMemberLevelVO: MemberLevelModel;
  memberLevelVO: MemberLevelModel;
  memberLevelVOList: Array<MemberLevelModel>;
  memberVO: MemberModel;
  isH5: number;
}
